package demo.vo;


/**
 * @author mandy.hu
 *
 */
public enum PlayStatTypeEnum {

	/**
	 * Metrics
	 */
	CUSTOMIZE_LOG_STAT("customize_log_count", "customize_log_count"),
	IP("xdcs_ip","ip"),
	TRACK("xdcs_track","track"),
	TRACK_IP("xdcs_track_ip","track_ip"),
	PLAY_COUNT("play_count","play_count"),
	LOG_STAT("exception_count","exception_count"),
	SERVER_LOAD("server_load","server_load"),
	SERVER_LOAD_APP("server_load_app","server_load_app"),
	SERVER_LOAD_APP_HOST("server_load_app_host","server_load_app_host"),
	SERVER_LOAD_APP_HOST_API("server_load_app_host_api","server_load_app_host_api"),
	RESPONSE_TIME("response_time","response_time"),
	RESPONSE_TIME_HOST_HOST("response_time_host_host","response_time_host_host"),
	RESPONSE_TIME_APP("response_time_app","response_time_app"),
	RESPONSE_TIME_APP_HOST("response_time_app_host","response_time_app_host"),
	RESPONSE_TIME_APP_HOST_API("response_time_app_host_api","response_time_app_host_api"),
	DOWNLOAD("download","download"),
	ERRORLOG("errorlog","errorlog"),
	DEVICESTAT("devicestat","devicestat"),
	MONITOR_SERVER_LOAD("monitor_server_load","monitor_server_load"),
	MONITOR_SERVER_LOAD_HOST_HOST("monitor_server_load_host_host","monitor_server_load_host_host"),
	MONITOR_SERVER_LOAD_APP_HOST_API("monitor_server_load_app_host_api","monitor_server_load_app_host_api"),
	MONITOR_SERVER_LOAD_TIMEOUT("monitor_server_load_timeout","monitor_server_load_timeout"),
	MONITOR_RESPONSE_TIME("monitor_response_time","monitor_response_time"),
	MONITOR_RESPONSE_TIME_HOST_HOST("monitor_response_time_host_host","monitor_response_time_host_host"),
	MONITOR_SERVER_LOAD_APP_API("monitor_server_load_app_api","monitor_server_load_app_api"),
	MONITOR_SERVER_LOAD_APP_API_CALLER("monitor_server_load_app_api_caller","monitor_server_load_app_api_caller"),
	MONITOR_SERVER_LOAD_APP_API_CALLEE("monitor_server_load_app_api_callee","monitor_server_load_app_api_callee"),
	MONITOR_RESPONSE_TIME_APP_API("monitor_response_time_app_api","monitor_response_time_app_api"),
	MONITOR_RESPONSE_TIME_APP_API_CALLER("monitor_response_time_app_api_caller","monitor_response_time_app_api_caller"),
	MONITOR_RESPONSE_TIME_APP_API_CALLEE("monitor_response_time_app_api_callee","monitor_response_time_app_api_callee"),
	MONITOR_SERVER_LOAD_APP_HOST("monitor_server_load_app_host","monitor_server_load_app_host"),
	MONITOR_SERVER_LOAD_APP_HOST_API_CALLEE("monitor_server_load_app_host_api_callee","monitor_server_load_app_host_api_callee"),
	MONITOR_REDIS_INSTANCE("monitor_redis_instance","monitor_redis_instance"),
	MONITOR_RABBIT_INSTANCE("monitor_rabbit_instance","monitor_rabbit_instance"),
	MONITOR_DB_INSTANCE("monitor_db_instance","monitor_db_instance"),
	MONITOR_RESPONSE_TIME_APP_HOST("monitor_response_time_app_host","monitor_response_time_app_host"),
	MONITOR_DB("monitor_db","monitor_db"),
	MONITOR_RABBIT("monitor_rabbit","monitor_rabbit"),
	MONITOR_DB_CALLER("monitor_db_caller","monitor_db_caller"),
	MONITOR_DB_CALLEE("monitor_db_callee","monitor_db_callee"),
	MONITOR_REDIS("monitor_redis","monitor_redis"),
	MONITOR_REDIS_CALLER("monitor_redis_caller","monitor_redis_caller"),
	MONITOR_REDIS_CALLEE("monitor_redis_callee","monitor_redis_callee"),
	MONITOR_METHOD("monitor_method","monitor_method"),

	DB_MONITOR_SAMPLE("db_monitor_sample","db_monitor_sample"),
	DB_MONITOR_SAMPLE_RESPONSE_TIME("db_monitor_sample_response_time","db_monitor_sample_response_time"),
	REDIS_MONITOR_SAMPLE("redis_monitor_sample","redis_monitor_sample"),
	REDIS_MONITOR_SAMPLE_RESPONSE_TIME("redis_monitor_sample_response_time","redis_monitor_sample_response_time"),

	MONITOR_DB_RESPONSE_TIME("monitor_db_response_time","monitor_db_response_time"),
	MONITOR_DB_RESPONSE_TIME_CALLER("monitor_db_response_time_caller","monitor_db_response_time_caller"),
	MONITOR_DB_RESPONSE_TIME_CALLEE("monitor_db_response_time_callee","monitor_db_response_time_callee"),
	MONITOR_REDIS_RESPONSE_TIME("monitor_redis_response_time","monitor_redis_response_time"),
	MONITOR_REDIS_RESPONSE_TIME_CALLER("monitor_redis_response_time_caller","monitor_redis_response_time_caller"),
	MONITOR_REDIS_RESPONSE_TIME_CALLEE("monitor_redis_response_time_callee","monitor_redis_response_time_callee"),
	MONITOR_METHOD_RESPONSE_TIME("monitor_method_response_time","monitor_method_response_time"),
	JUMP_SERVICE("jump_service","jump_service"),
	ERROR_SPAN("error_span","error_span"),
	MAX_RESPONSE("max_response","max_response"),
	CDN_SEARCH("cdn_search","cdn_search"),
	CDN_SEARCH_CITY("cdn_search_city","cdn_search_city"),
	CDN_SEARCH_PROVINCE("cdn_search_province","cdn_search_province"),
	CDN_SEARCH_DETAIL("cdn_search_detail","cdn_search_detail"),
	TOMCAT_METRIC("tomcat_metric","tomcat_metric"),
	MAINSTAY_SERVER_THREAD("mainstay_server_thread","mainstay_server_thread"),
	MAINSTAY_POOL("mainstay_pool","mainstay_pool"),
	SAMPLE_COMPENSATION("sample_compensation","sample_compensation"),
	SAMPLE_COMPENSATION_CALLEE_TAGS("sample_compensation_callee_tags","sample_compensation_callee_tags"),
	SAMPLE_COMPENSATION_HOST_HOST("sample_compensation_host_host","sample_compensation_host_host"),
	SAMPLE_COMPENSATION_MONITOR_SERVER_LOAD("sample_compensation_monitor_server_load","sample_compensation_monitor_server_load"),
	SAMPLE_COMPENSATION_CALLEE_TAGS_CALLEE("sample_compensation_callee_tags_callee","sample_compensation_callee_tags_callee"),
	DB_DATASOURCE("db_datasource","db_datasource"),
	REDIS_DATASOURCE("redis_datasource","redis_datasource"),
    MONITOR_FLUME("monitor_flume","monitor_flume"),
    MONITOR_REDIS_PROCESS("monitor_redis_process","monitor_redis_process"),
	HYBRIDOPENPAGE("hybridopenpage","hybridopenpage"),
	APPSTARTTIME("appstarttime","appstarttime"),
	HYBRIDOPENPAGETIME("hybridopenpagetime","hybridopenpagetime"),
	APPCRASHMETRIC("appcrashmetric","appcrashmetric"),
	LOG_COUNT_MAINSTAY("log_count_mainstay","log_count_mainstay"),
	BANDWIDTH_REDIS_SIZE("bandwidth_redis_size","bandwidth_redis_size"),
	BANDWIDTH_DB_SIZE("bandwidth_db_size","bandwidth_db_size"),
	HTTP_DNS_REQUEST("httpdnsrequest_statics", "httpdnsrequest_statics"),

	RABBITMQ_QPS("rabbitmq_qps", "rabbitmq_qps"),
	RABBITMQ_TIME("rabbitmq_time", "rabbitmq_time"),
	RABBITMQ_TIME_RANGE("rabbitmq_time_range", "rabbitmq_time_range"),
	RABBITMQ_BODY("rabbitmq_body", "rabbitmq_body"),
	TIMERANGE_DB("timeRange_db", "timeRange_db"),
	TIMERANGE_REDIS("timeRange_redis", "timeRange_redis"),
	TIMERANGE_MAINSTAY("timeRange_mainstay", "timeRange_manstay"),

	MONITOR_RESPONSE_TIME_API_HOST("monitor_response_time_api_host", "monitor_response_time_api_host"),
	MONITOR_RESPONSE_TIME_CALLER("monitor_response_time_caller", "monitor_response_time_caller"),
	MONITOR_RESPONSE_TIME_CALLEE("monitor_response_time_callee", "monitor_response_time_callee"),
	RESPONSE_TIME_API_HOST("response_time_api_host", "response_time_api_host"),
	SERVER_LOAD_API_HOST_CALLEE("server_load_callee", "server_load_callee"),
	SERVER_LOAD_API_HOST_CALLER("server_load_caller", "server_load_caller"),
	MONITOR_SERVER_LOAD_API_HOST_CALLEE("monitor_server_load_callee", "monitor_server_load_callee"),
	MONITOR_SERVER_LOAD_API_HOST_CALLER("monitor_server_load_caller", "monitor_server_load_caller"),

	MOSN_EXCEPTION_COUNT("mosn_exception_count","mosn_exception_count");

	private PlayStatTypeEnum(String metric, String desc) {
		this.metric = metric;
		this.desc = desc;
	}

	private String metric;

	private String desc;


	/**
	 * @return the metric
	 */
	public String getMetric() {

		return metric;
	}


	/**
	 * @param metric the metric to set
	 */
	public void setMetric(String metric) {

		this.metric = metric;
	}


	/**
	 * @return the desc
	 */
	public String getDesc() {

		return desc;
	}


	/**
	 * @param desc the desc to set
	 */
	public void setDesc(String desc) {

		this.desc = desc;
	}


}
